<template>
	<view class="empty-receptacle flex-column-center" :style="{marginTop:windowHeight*0.26+'px'}">
		<view class="empty-box">
			<image :src="pic" :style="{width:width,height:height}"></image>
			<text>{{txt}}</text>
		</view>
	</view>
</template>

<script setup>
	import {ref} from "vue";
  import { systemStore } from '@/stores/system'
	let app = getApp()
  const SystemStore =systemStore()
	const statusBarHeight = ref("")
	const windowHeight = ref("")
	statusBarHeight.value =  SystemStore.statusBarInfo.statusBarHeight
	windowHeight.value = SystemStore.statusBarInfo.windowHeight;

	let props = defineProps({
		width: {
		    type: String
		},
		height: {
		    type: String
		},
		txt: {
		    type: String
		},
		pic: {
		    type: Boolean,
		    default: function(){
				return 'http://www.xvopen.com/xiaoV/img1/washer.png';
			}
		}
	})

</script>

<style scoped lang="scss">
	.empty-box{
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
		// margin-top: 200rpx;
		padding-bottom: 60rpx;
		image{
			width: 155rpx;
			height: 155rpx;
		}
		text{
			font-size: 26rpx;
			color: #999;
		}
	}
</style>
